	<div class="row">
	    <div class="col-xs-12">
	        <div class="box box-primary">
	            <div class="box-header">
                <h3 class="box-title">Sosial Media</h3>
	            </div><!-- /.box-header -->
	            <div class="box-body box-export-tools table-responsive">
	            	<span class="notif notif-primary" <?php if(is_string($this->session->flashdata('sukses'))){echo 'style="display:block;"';}else{echo 'style="display:none;"';}?>>
	            		<i class="fa fa-check"></i>
	            		<?php echo $this->session->flashdata('sukses'); ?>
	            		<button type="button" class="close">&times;</button>
	            	</span>

	            	<span class="notif notif-danger" <?php if(is_string($this->session->flashdata('gagal'))){echo 'style="display:block;"';}else{echo 'style="display:none;"';}?>>
	            		<i class="fa fa-check"></i>
	            		<?php echo $this->session->flashdata('gagal'); ?>
	            		<button type="button" class="close">&times;</button>
	            	</span>

	            	
                <table class="table table-hover table-condensed table-striped">
									<thead>
									<tr>
										<th width="3%" style="text-align:center;">#</th>
										<th>Judul</th>
										<th>URL</th>
										
									</tr>
									</thead>
									<?php 
										if(!empty($results)){
											foreach ($results as $row) {
									?>
									<tr>
										<td align="center"><?php echo $ordinal_num++ ?></td>
										<td><?php echo $row['judul']?></td>								
										<td>
											<?php echo $row['url']?>
											<span class="pull-right">
												<?php echo anchor('admin_sosial/edit/'.$row['id_social'].'','Edit','class="label label-warning" title="Edit data Sosial Media"'); ?>
											</span>
										</td>
									</tr>
									<?php 
											}
										}else{
									?>
									<tr>
										<td colspan="3" align="center">Tida ada data</td>
									</tr>
									<?php
										}
									?>							
								</table>									
	            </div><!-- /.box-body -->
	            <div class="box-footer clearfix">
                <ul class="pagination pagination-sm no-margin pull-right">
                  <?php echo $pagination; ?>
                </ul>        
	            </div>
	        </div><!-- /.box -->                            
	    </div>
	</div>